# Copyright (c) 2008 Alvin Wang http://cloudwizard.com/
# License New BSD
# See README for additional information

from cloudwizard.cwobject import CWobject

class QueueService(CWobject):
    """
    Storage is disk.

    API
            Folders_list( buckets)
            folder_create
            folder_delete
            folder_rename
            files_list ( folder)
            files_upload ( folder)
            files_delete ( folder)
            file_size ( folder)

    eg] S3
    """
    def create(self, queue_name=None):
        """Create a queue"""
        pass
    
    def delete(self):
        """List all queues as objects"""
        pass

    def olist(self):
        """List all queues as objects"""
        pass

    def plist(self):
        """List all queues as objects"""
        pass

    def get(self, queue_name=None):
        """List all queues as objects"""
        pass

class QueueDevice(CWobject):
    """
    
    """
    def clear(self):
        """Clear all messages from queue"""
        pass
    
    def delete(self):
        """Delete queue"""
        pass

    def dump(self):
        """Delete queue"""
        pass

    def load(self):
        """Load queue"""
        pass

    def get(self):
        """Load queue"""
        pass

    def put(self):
        """Load queue"""
        pass

    def olist(self):
        """Load queue"""
        pass

    def count(self):
        """Load queue"""
        pass

